<?php

class TournamentRegistrationBox extends Box {

	/**
	 * Ide jegyzi be a TournamentRegistration folyamat ha baja van
	 * @var string
	 */
	public static $TournamentRegistrationError;


	public function TournamentRegistrationBox($_langcode)
	{
		$this->id = ConstHandler::get('TOURNAMENTREGISTRATION_BOX_FAKE_ID');
		$this->langcode = $_langcode;
		$this->height = ConstHandler::get('TOURNAMENTREGISTRATION_BOX_HEIGHT');
		$this->css = ConstHandler::get('TOURNAMENTREGISTRATION_BOX_CSS');
		$this->place = ConstHandler::get('TOURNAMENTREGISTRATION_BOX_PLACE');
		$this->name = TextHandler::getText("comp_entries");
			
		// egy db spéci tab-ja van
		$this->boxTabs = array();
		$boxTabObj = new TournamentRegistrationBoxTab($this);
		$this->boxTabs[$boxTabObj->id] = $boxTabObj;
		$this->defaultTabId = $boxTabObj->id;

		$this->reloadState();
	}
}
?>